FROM m.daocloud.io/docker.io/library/python:3.10-slim
WORKDIR /usr/src/app
COPY Pipfile ./
RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple  --no-cache-dir pipenv && pipenv install
COPY *.py .
ENTRYPOINT  [ "pipenv", "run","python", "./${PROGRAM}.py"]